package com.bms.hystrix.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (ZiLiao)实体类
 *
 * @author txz
 * @since 2021-03-22 16:32:04
 * @version 1.0
 */
@ApiModel(value = "ZiLiao",description = "$tableInfo.comment")
public class ZiLiao implements Serializable {
    private static final long serialVersionUID = 835356713305234940L;
    /**
    * 资料表主键
    */
	@ApiModelProperty(name = "id",notes = "资料表主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 资料表主题
    */
	@ApiModelProperty(name = "biaoTi",notes = "资料表主题",dataType = "String",required = true)
    private String biaoTi;
    /**
    * 资料表内容
    */
	@ApiModelProperty(name = "neiRong",notes = "资料表内容",dataType = "String",required = true)
    private String neiRong;
    /**
    * 上传时间
    */
	@ApiModelProperty(name = "shangChuanShiJian",notes = "上传时间",dataType = "Date",required = true)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm", timezone = "GMT+8")
    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
    private Date shangChuanShiJian;
    /**
    * 更新时间
    */
	@ApiModelProperty(name = "gengXinShiJian",notes = "更新时间",dataType = "Date",required = true)
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm", timezone = "GMT+8")
    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
    private Date gengXinShiJian;
    /**
    * 浏览数量
    */
	@ApiModelProperty(name = "liuLanShuLiang",notes = "浏览数量",dataType = "Integer",required = true)
    private Integer liuLanShuLiang;
    /**
    * 标题概述
    */
	@ApiModelProperty(name = "gaiShu",notes = "标题概述",dataType = "String",required = true)
    private String gaiShu;
    /**
    * 概述内容
    */
	@ApiModelProperty(name = "gaiShuNeiRong",notes = "概述内容",dataType = "String",required = true)
    private String gaiShuNeiRong;
    /**
    * 下载量
    */
	@ApiModelProperty(name = "xiaZaiLiang",notes = "下载量",dataType = "Integer",required = true)
    private Integer xiaZaiLiang;
    /**
    * 医务人员外键
    */
	@ApiModelProperty(name = "yiWuRenYuanId",notes = "医务人员外键",dataType = "Integer",required = true)
    private Integer yiWuRenYuanId;
    /**
    * 科研人员外键
    */
	@ApiModelProperty(name = "keYanRenYuanId",notes = "科研人员外键",dataType = "Integer",required = true)
    private Integer keYanRenYuanId;

	private KeYanRenYuan keYanRenYuan;

	private YiWuRenYuan yiWuRenYuan;

        
    public Integer getId() {
        return id;
    }

    public KeYanRenYuan getKeYanRenYuan() {
        return keYanRenYuan;
    }

    public void setKeYanRenYuan(KeYanRenYuan keYanRenYuan) {
        this.keYanRenYuan = keYanRenYuan;
    }

    public YiWuRenYuan getYiWuRenYuan() {
        return yiWuRenYuan;
    }

    public void setYiWuRenYuan(YiWuRenYuan yiWuRenYuan) {
        this.yiWuRenYuan = yiWuRenYuan;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getBiaoTi() {
        return biaoTi;
    }

    public void setBiaoTi(String biaoTi) {
        this.biaoTi = biaoTi;
    }
        
    public String getNeiRong() {
        return neiRong;
    }

    public void setNeiRong(String neiRong) {
        this.neiRong = neiRong;
    }
        
    public Date getShangChuanShiJian() {
        return shangChuanShiJian;
    }

    public void setShangChuanShiJian(Date shangChuanShiJian) {
        this.shangChuanShiJian = shangChuanShiJian;
    }
        
    public Date getGengXinShiJian() {
        return gengXinShiJian;
    }

    public void setGengXinShiJian(Date gengXinShiJian) {
        this.gengXinShiJian = gengXinShiJian;
    }
        
    public Integer getLiuLanShuLiang() {
        return liuLanShuLiang;
    }

    public void setLiuLanShuLiang(Integer liuLanShuLiang) {
        this.liuLanShuLiang = liuLanShuLiang;
    }
        
    public String getGaiShu() {
        return gaiShu;
    }

    public void setGaiShu(String gaiShu) {
        this.gaiShu = gaiShu;
    }
        
    public String getGaiShuNeiRong() {
        return gaiShuNeiRong;
    }

    public void setGaiShuNeiRong(String gaiShuNeiRong) {
        this.gaiShuNeiRong = gaiShuNeiRong;
    }
        
    public Integer getXiaZaiLiang() {
        return xiaZaiLiang;
    }

    public void setXiaZaiLiang(Integer xiaZaiLiang) {
        this.xiaZaiLiang = xiaZaiLiang;
    }
        
    public Integer getYiWuRenYuanId() {
        return yiWuRenYuanId;
    }

    public void setYiWuRenYuanId(Integer yiWuRenYuanId) {
        this.yiWuRenYuanId = yiWuRenYuanId;
    }
        
    public Integer getKeYanRenYuanId() {
        return keYanRenYuanId;
    }

    public void setKeYanRenYuanId(Integer keYanRenYuanId) {
        this.keYanRenYuanId = keYanRenYuanId;
    }

}